<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:include="css :: css">
</head>
<link href="/js/jquery.icheck/skins/square/blue.css" rel="stylesheet">
<style>
    .fixed-table-toolbar .bs-bars, .fixed-table-toolbar .search, .fixed-table-toolbar .columns {
        margin-top: -70px;
    }
</style>
<body style="overflow: hidden;opacity: 1">

<div id="cl-wrapper" style="padding-top: 0">
    <div class="container-fluid" >
        <div class="cl-mcont">
            <div class="row">
                <div class="col-md-12">
                    <div class="block-flat">
                        <form class="form-horizontal group-border-dashed">
                            <div class="form-group">
                                <div class="input-group">
                                    <input type="text" class="form-control" placeholder="开始" id="startTime"/>
                                </div>
                                <div class="input-group">
                                    <input type="text" class="form-control" placeholder="结束" id="endTime"/>
                                </div>
                                <div class="input-group">
                                    <button class="btn btn-primary" type="button" id="search"><i
                                            class="fa fa-search"></i>查询
                                    </button>
                                    &nbsp;
                                    <button class="btn btn-success btn-operation" type="button"
                                            onclick="addTab('/writeAnnouncement','1','写公告')"
                                            id="addAnnouncement"><i class="fa fa-plus-square-o"></i> 写公告
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="block-flat">
                        <div class="content">
                            <div class="table-responsive">
                                <table data-classes="table table-hover table-condensed"
                                       id="dataTable"
                                       data-mobile-responsive="true" data-detail-formatter="detailFormatter">
                                </table>

                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
<div id="div" style="display: none">
    <form class="form-horizontal" role="form" id="editAnnouncementForm">
        <input type="hidden" id="id">
        <input type="hidden" id="modelId">
        <input type="hidden" id="title">
        <input type="hidden" id="content">
        <input type="hidden" id="readable">
        <input type="hidden" id="state">
        <input type="hidden" id="type">
    </form>
</div>
<div th:include="js :: js"></div>
<script type="text/javascript" th:attr="src=@{/js/jquery.form.js}"></script>
<script type="text/javascript" th:attr="src=@{/js/jquery.parser.js}"></script>
<script type="text/javascript" src="js/jquery.icheck/icheck.min.js"></script>
<script type="text/javascript" src="/js/pageJs/memberManage/userAnnouncement.js?deVersion=201811212"></script>
<script>
    var accountName = GetQueryString("accountName");
    if (accountName != null && accountName != '') {
        $("#userName").val(decodeURI(accountName));
        $("#search").click();
    };

</script>
</body>
</html>
